<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    var obj={
        name:"哈哈",
        age:18,
        id:110,
        sex:"男",
        stuID:"201",
        learn:"计算机应用",
        jieshao:function(){
            console.log("这个学生的所有信息....")
        }
    }
    console.log(obj.name);
    
    
    obj.jieshao()
    
</script>